package com.gp.service;

import com.gp.vo.CarVo;
import com.gp.vo.TbCarVo;
import com.gp.entity.MaintainRecord;
import com.gp.entity.TbCar;
import com.gp.util.CommonResult;

public interface CarService {

    //查询所有车辆信息    +分页
    public CommonResult findAllCar(Integer page, Integer limit, TbCarVo tbCarVo);


    //删除车辆信息  基于id
    public CommonResult delCarById(Integer id);

    //弹出框相关信息
    public CommonResult carDetails();
    //插入
    public CommonResult insert(CarVo carVo);
    //修改车量信息
    public CommonResult update(TbCar tbCar);

    //添加维修厂
    public CommonResult insertwei(MaintainRecord maintainRecord);
}
